<?php

class Application_Form_Group extends Zend_Form
{

public function init()
    {
        $this->setName("group");
        $this->setMethod('post');

        $gruppe = new Zend_Form_Element_Text('name');
        $gruppe->setLabel('Gruppenname:')
        ->setRequired(true);
        

        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setLabel('Submit')
        ->setOptions(array('class' => 'submit'));

        $this->addElement($gruppe)
        	->addElement($submit);
    }


}

